home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Interactive 7
/
PC World Interactive 7.iso
/
program
/
qbprog.EXE
/
SAAT.BAS
< prev
next >
Wrap
BASIC Source File
|
1995-05-12
|
1KB
|
36 lines
10 ' SAAT
20 DIM SAAT$(30),GSAAT$(12),VSAAT$(12)
30 FOR T=0 TO 30
40 DATA Oniki,Bir,ÿki,Üç,Dört,Beƒ,Altì,Yedi,Sekiz,Dokuz,On,Onbir,Oniki,Onüç
50 DATA Ondört,Çeyrek,Onaltì,Onyedi,Onsekiz,Ondokuz,Yirmi,Yirmibir,Yirmiiki
60 DATA Yirmiüç,Yirmidört,Yirmibeƒ,Yirmialtì,Yirmiyedi
70 DATA Yirmisekiz,Yirmidokuz,Buçuk
80 READ SAAT$(T) : NEXT
90 '
100 FOR T=1 TO 12
110 DATA Biri,ÿkiyi,Üçü,Dördü,Beƒi,Altìyì
120 DATA Yediyi,Sekizi,Dokuzu,Onu,Onbiri,Onikiyi
130 READ GSAAT$(T) : NEXT
140 '
150 FOR T=1 TO 12
160 DATA Bire,ÿkiye,Üçe,Dörde,Beƒe,Altìya
170 DATA Yediye,Sekize,Dokuza,Ona,Onbire,Onikiye
180 READ VSAAT$(T) : NEXT
190 '
200 FOR B= 1 TO 5
210 IF B=1 OR B=2 THEN SA$=SA$+MID$(TIME$,B,1)
220 IF B=4 OR B=5 THEN DK$=DK$+MID$(TIME$,B,1)
230 NEXT
240 CLS
250 SA=VAL(SA$):IF SA>=12 THEN SA=SA-12:K=1
260 DK=VAL(DK$):IF DK>30 THEN DK=60-DK:V=1
270 '
280 PRINT SA$+":"+DK$:PRINT
290 PRINT "Saat: ";
300 IF K=0 THEN COLOR 15
310 IF DK$="00" THEN PRINT SAAT$(SA)+".":V=2
320 IF DK$="30" THEN PRINT SAAT$(SA)+" "+SAAT$(DK)+".":V=2
330 IF V=0 THEN PRINT GSAAT$(SA)+" "+SAAT$(DK)+" Geçiyor."
340 IF V=1 THEN PRINT VSAAT$(SA+1)+" "+SAAT$(DK)+" Var."
350 COLOR 7: ' MURAT NECÿOªLU